package com.wkbb.sports.dto;

import java.util.ArrayList;
import java.util.List;

import lombok.Data;

@Data
public class ProjectClassLineGraphDto {

	private int id;

	private String name;

	private List<Double> data;
	
	public ProjectClassLineGraphDto(int id, String name) {
		this.id = id;
		this.name = name;
		data = new ArrayList<>();
	}
	
	public void addData(double count) {
		data.add(count);
	}

}
